package com.sosee.cgfw.utils;

import android.content.Context;
import android.util.Log;

/**
 * Created by Thinkpad on 2016/1/28.
 * //log日志工具类
 */
public class LogUtils {
    public Context getContext() {
        return context;
    }

    public void setContext(Context context) {
        this.context = context;
    }

    private Context context;




    public static boolean isTest=true;//是否为测试状态  上线模式 设置为false
    public static final String TAG="hu";//日志标签

    public static void log_E(String text){
        if(isTest){
            Log.e(TAG,text);
        }
    }

    public static void log_i(String text){
        if(isTest){
            Log.i(TAG,text);
        }
    }
}
